package com.zhuangxiaoyan.jvm.chapter07.java;

/**
 * @description non-final的类变量
  * @param: null
 * @date: 2022/6/18 16:53
 * @return:
 * @author: xjl
*/

public class MethodAreaTest {
    public static void main(String[] args) {
        Order order = null;
        order.hello();
        System.out.println(order.count);
    }
}

class Order {
    public static int count = 1;
    public static final int number = 2;


    public static void hello() {
        System.out.println("hello!");
    }
}

